package vn.orderonline.com.core.business.member;

import java.util.List;

import vn.orderonline.core.redis.RedisMember;

public interface IMember {
	
	public List<RedisMember> getAllMember();
	
	public RedisMember getMemberByUsername(String username);
	
	public Boolean checkExistedEmail(String email);
	
	public Boolean checkExistedUsername(String username);
	
	public void addMember(RedisMember member);
	
	public void update(RedisMember member);
	
	public void delete(String username);
	
	public List<RedisMember> search(RedisMember member);

}
